package com.ybk.zs.service.impl;

import com.ybk.zs.dao.AdminMapper;
import com.ybk.zs.domain.Admin;
import com.ybk.zs.domain.AdminExample;
import com.ybk.zs.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2016/8/31.
 */
@Service
public class AdminService implements IAdminService{

    @Autowired(required = false)
    private AdminMapper adminMapper;

    @Override
    public List<Admin> selectByExample(AdminExample example) {
        return this.adminMapper.selectByExample(example);
    }
}
